
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
            <meta name="description" content="Leilões de carros, equipamentos industriais e agrícolas." />
            <title>MAXBID - Leilões On Line</title>
            <?php header_init(); ?>
    </head>

    <body>
        <div>
            <!-- HEADER -->
            <div id="header">
                <div class="col-md-4 col-sm-6 box-logo-site">
                    <div id="logo">
                        <a href="/"><img src="/public/images/logo_03.png" title="Maxbid leilões on line"  alt="Maxbid leilões on line"></a>
                    </div>

                    <?php
                    $search = isset($ci->gets['q']) ? $ci->gets['q'] : '';
                    echo '<div class="box-form-responsive">
                            <form  action="' . site_url('pesquisar') . '" method="get" class=""  id="formMobile">
                            <div class="form-group">
                            <input type="text" name="q" value="' . $search . '"  placeholder="Digite a pesquisa" class="form-control" />
                             <span data-trigger="submit" data-target="#formMobile" class="btn btn-sm btn-default"><i class="fa fa-search"></i></span>
                             </div>
                        </form>
                          <div class="clearfix"></div>
                        </div>';
                    ?>

                </div>

                <div class="col-md-8 box-info-user">
                    <div id="menu-topo">
                        <ul class="box-list-menu">
                            <li class="header-telefone">
                                <div class="header-links">
                                    <i><img src="/public/images/ico_phone.png" title="Maxbid leilões on line - telefones"  alt="Maxbid leilões on line - telefones" ></i>
                                    <span class="telefone-um">11 4386-1020 <br/>11 4386-1030 </span>
                                </div>
                            </li>
                            <li class="header-chat">
                                <div class="header-links">
                                    <a href="#" on-chat-live><i><img src="/public/images/ico_chat.png" title="Maxbid leilões on line - Chat"  alt="Maxbid leilões on line - Chat"></i>
                                        <span class="label-chat">Chat</span>
                                    </a>
                                </div>
                            </li>
                            <li class="header-login">
                                <div class="header-links">
                                    <?php $url = userData()->loggedin && userData()->id > 0 ? BASE_URL_USER . '/painel' : BASE_URL_USER . '/login' . (uri_string() != '' && !exceptions_uri(array('password-(:any)', 'recovery-password.html')) ? '?r=' . uri_string() : ''); ?>
                                    <a href="<?php echo site_url($url); ?>"><i><img src="/public/images/ico_cadeado.png" title="Maxbid leilões on line - Acesse a sua conta"  alt="Maxbid leilões on line - Acesse a sua conta"></i>
                                        <span><?php echo userData()->login; ?> <br><strong class="text-red-desc-top">Sua Conta</strong></span>
                                    </a>
                                </div>

                            </li>
                            <li class="header-favoritos">
                                <div class="header-links">
                                    <a href="#"><i><img src="/public/images/ico_favorites.png" title="Maxbid leilões on line - Lotes favoritos"  alt="Maxbid leilões on line - Lotes favoritos" ></i>
                                        <span><strong class="text-red-desc-top"><?php echo count($favoritos_user); ?> Lotes</strong> Favoritos</span></a>
                                </div>

                            </li>
                        </ul>
                    </div>
                </div>

            </div>

            <!-- NAVBAR TOPO-->
            <?php echo get_navbar_topo(); ?>   
            <!-- NAVBAR TOPO-->
            <!--CONTAINER -->  
            <div class="page-content">
                <?php echo Utils::getMessageTemp(); ?>
                <?php
                echo $site_content;
                ?>
                <div class="clearfix"></div> 

            </div>
            <div class="categories-reponsive-footer">
                <ul class="categories-footer">
                    <li><a href="<?php echo site_url('quem-somos'); ?>">Quem Somos </a></li>
                    <li>|</li>
                    <li><a href="<?php echo site_url('politica-privacidade'); ?>">Politica de Uso </a></li>
                    <li>|</li>
                    <li><a href="<?php echo site_url('duvidas'); ?>">Dúvidas </a></li>
                    <li>|</li>
                    <li><a href="<?php echo site_url('contato.html'); ?>">Contato </a></li>
                </ul>
            </div>  
            <div class="col-xs-12 r-footer">
                <div id="address">
                    <span>Fone: (11) 4386 1020 | 4386 1030. Rua Doutor Ramos de Azevedo nº 159 - 3° andar</span><br>
                        <span>Salas 309 - CEP: 07012-020 - Guarulhos - São Paulo</span><br/>
                        <span>contato@maxbid.com.br</span>
                </div>
                <div class="text-copy">
                    <p>MAXBID © 2014 - Todos os Direitos reservados</p>
                </div>
            </div> 



            <!-- FOOTER --> 
            <?php echo get_navbar_footer(); ?>
            <!-- FOOTER --> 
            <?php footer_init(); ?>    

        </div>
        
    </body>
</html>
